package com.sinoglobal.dumping.util;

/**
 * Created by KeZhuang on 2016/1/26.
 */
import android.content.Context;

import static com.sinoglobal.dumping.base.Dumpling_SinoValueManager.*;
public class DumplingCache {
    private Context mContext;
    public DumplingCache(Context context){
        this.mContext = context;
    }
    public void put(String key,Object value){
        putValue(mContext,key,value,true);
    }
    public Object get(String key,Object defaultValue){
        return getValue(mContext,key,defaultValue);
    }
    public void clear(){
        clearValue(mContext,true);
    }
}
